const WORLD_SIZE=500;

$("canvas").attr({
    "width":WORLD_SIZE,
    "height":WORLD_SIZE 
});